import Layout from '@/layout'

const trainRouter = {

  path: '/',
  component: Layout,
  redirect: '/trainSystem',
  name: '机车专家系统',
  meta: {
    title: '机车专家系统',
    icon: 'component',
    roles: ['admin']
  },

  children: [
    {
      path: 'trainSystem',
      component: () => import('@/views/trainSystem/index'),
      name: '首页',
      meta: { title: '首页' }
    }
  ],

}

export default trainRouter
